package com.itzhigui;

import javafx.application.Application;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.web.bind.annotation.CrossOrigin;

@SpringBootApplication
@MapperScan(value = "com.itzhigui.mapper")
@CrossOrigin
public class AdminApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext ctx = SpringApplication.run(AdminApplication.class, args);
        /*String[] names = ctx.getBeanDefinitionNames();
        for (String name : names) {
            System.out.println(name);
        }*/
    }
}
